<template>

  <div class="bottom-navbar-container-div">
    <div class="bottom-navbar-div">

      <div class="bottom-navbar-left-div">
        <slot name="left"></slot>
      </div>

      <div class="bottom-navbar-center-div">
        <slot name="center"></slot>
      </div>

      <div class="bottom-navbar-right-div">
        <slot name="right"></slot>
      </div>

    </div>
    <slot name="bottom"></slot>
  </div>
  
  

</template>

<script>
export default {
  name: "BottomNavBar"
}
</script>

<style lang="less" scoped>
@import "@/assets/style/less/all.less";
.bottom-navbar-container-div{
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  z-index: 5;
  >.bottom-navbar-div{
    width: 100vw;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 5px;
    border-top: 1px solid @separator_color;
    z-index: 2;
    >div{
      margin: 0 5px;
    }
    >.bottom-navbar-left-div, >.bottom-navbar-center-div, >.bottom-navbar-right-div{
      display: flex;
      align-items: center;
    }
    >.bottom-navbar-left-div, >.bottom-navbar-right-div{
      .flex-item-fix()
    }
    >.bottom-navbar-center-div{
      .flex-item-fit-width()
    }
  }
}

</style>